package com.firexxx.vp.application.dto;

import com.firexxx.vp.domain.audio.AudioType;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/12/27 11:24
 */
@Data
public class AudioDto extends BaseDto {

    private String audioId;
    private byte[] content;
    private AudioType audioType;

    public AudioDto(@NotBlank String traceId, String audioId, byte[] content, AudioType audioType) {
        super(traceId);
        this.audioId = audioId;
        this.content = content;
        this.audioType = audioType;
    }
}